package com.pxst.agent.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.Page;
import com.pxst.agent.entity.SysAgentCommissionSettings;
import com.pxst.agent.req.RateSettingCreateReq;
import com.pxst.agent.req.RateSettingReq;
import com.pxst.agent.resp.RateSettingResp;
import com.pxst.resp.ApiResp;
import icu.mhb.mybatisplus.plugln.base.service.JoinIService;
import org.springframework.stereotype.Service;

/**
* @author zarke
* @since 2023-09-25 10:20:36
*/
@Service
public interface SysAgentCommissionSettingsService extends JoinIService<SysAgentCommissionSettings> {

    //搜索
    ApiResp<Page<RateSettingResp>> getCommission(RateSettingReq rateSettingReq);

    //新增设定
    ApiResp<SysAgentCommissionSettings> createRateSetting(RateSettingCreateReq rateSetting);
}